package com.tony.domain.bo;

import com.tony.domain.enumerate.TokenTypeEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author x
 * @date 2020/5/29 16:41
 */
@Data
@EqualsAndHashCode
@Accessors(chain = true)
public class UserInfo {

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 类型1：总后台2：平台商户3：用户
     */
    private TokenTypeEnum type;

    /**
     * 角色id
     */
    private Long role;

}
